Overwrite Custom Attributes for User
This call overwrites custom attributes for a user.
Authentication
Device Management
HTTP Method
PATCH
Request URI
/api/v1/account/customattributes
Request Parameters
Parameter |
Argument Type |
Description |
Example Value |
---|---|---|---|
account |
Request body |
The account for which the custom attributes must be overwritten. |
19850 |
Example Request
curl --location --request PATCH 'https://<hostname>/api/v1/account/19850/customattributes' \
--header 'Accept: application/json, text/plain, */*' \
--header 'Accept-Language: en,en-US;q=0.9,pt-BR;q=0.8,pt;q=0.7,fr;q=0.6' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic <token>' \
--header 'Cookie: MISESSIONID=YzRiYTNlODEtMjBlYy00NThmLWI0ODMtZTZhZjYyYWZlMmU1' \
--data '{"attrs":{"testUserAttribute":["forCheck"]}, "forceOverwrite":true}'
Example Response
{
"errors": null,
"result": 1
}